#include <forward_list>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>

using namespace std;

int main(int argc, char **argv) {
  vector<int> vec1;
  int a;
  while (cin >> a) {
    vec1.push_back(a);
    cout << "vector的大小" << vec1.size() << endl;
    ;
    cout << "vector的容量" << vec1.capacity() << endl;
  }
  return 0;
}